Data Structures

pi_data
SYNOPSIS

struct |  |
{ |  |
| int | from;
| int | to;
| int | from2;
| int | to2;
| int | argstart;
| int | argend;
| int | ctorstart;
| int | ctorend;
| char | *name;
| char | *type;
| char | *classname;
| char | *nameSpace;
| int | flags;
| pi_id | related;
}; |  |

DESCRIPTION
Describes a data structure. This data structure is used by all semantic action functions as a parameter which describe the details of a symbol item. It has to be allocated and filled in by the parser application.

from | offset relative to file begin
to | offset relative to file begin
from2 | offset relative to file begin
to2 | offset relative to file begin
argstart | not supported in this version
argend | not supported in this version
ctorstart | not supported in this version
ctorend | not supported in this version
name | see semantic actions for details
type | see semantic actions for details
classname | see semantic actions for details
nameSpace | scope of symbol, see semantic actions for details
flags | see semantic actions for details
related | NOT USED in this version

Please refer to the specific semantic action functions for a description of the data members used by these functions.
See also all semantic action functions and the

pi_reset() function
Flags used in pi_data.flags

PI_VIRTUAL | virtual function
PI_ABSTRACT | pure virtual function
PI_INLINE | inline function
PI_CONST | const variable or function
PI_PRIVATE | private member access or inheritance
PI_PUBLIC | public member access or inheritance
PI_PROTECTED | protected member access or inheritance
PI_TEMPLATE | template class
PI_FRIEND | friend class or function
PI_STATIC | static variable or function
PI_DEFAULT_VAL | function parameter has default value
PI_FUNCTION | function or member function
PI_VARIABLE | variable or member variable
PI_MACRO | macro definition
PI_TYPEDEF | type definition
PI_ENUM | enumeration type
PI_ENUM_ITEM | enumeration item
PI_CLASS | class declaration
PI_STRUCT | structure declaration
PI_UNION | union declaration
PI_DEFINITION | definition of a function or member function
PI_DECLARATION | declaration of a member function
PI_READACCESS | read access to a variable or member variable
PI_WRITEACCESS | write access to a variable or member variable
PI_STDINCL | if is standard <include> , else "include"
PI_FINAL | if symbol is final in JAVA
PI_SYNCHRONIZED | if symbol is synchronized in JAVA
PI_NATIVE | if symbol is native in JAVA
PI_TRANSIENT | if symbol is transient in JAVA
PI_VOLATILE | if symbol is volatile

Return values of semantic action functions

PI_NOVALUE | -1 | default return value (void)
PI_BADID | -2 | illegal id in pi_data.related
PI_NOJOB | -3 | semantic action called without active job